<?php
function SVNBot_Autoload($classname) {
	include str_replace('_', '/', $classname) . '.php';
	if (!class_exists($classname)) {
		try { throw new Exception('dummy'); } 
		catch (Exception $e) { echo 'Autoloading class ' . $classname . ' failed' . "\n" . $e->getTraceAsString(); }
	}
}

spl_autoload_register('SVNBot_Autoload');
